package cn.chint.manage.service.impl;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.chint.po.SysUser;

@Service
public class AdminServiceImpl implements cn.chint.manage.service.AdminService {
    @Autowired
    cn.chint.manage.dao.AdminDao adminDao;

    public Logger log = Logger.getLogger(getClass());
    /**
     * @Transactional(value = "transactionManager", propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, rollbackForClassName = {"java.lang.Throwable"})
     */
    public SysUser findChannelUser(String username, String password) {
       
    	SysUser channelUser =adminDao.findChannelUser(username,password);
    	return channelUser;

    }
    
  

}
